<?php

namespace App\Repositories;

use App\Models\FacilityTicketModel;
use App\Models\FacilityModel;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class FacilityTicketModelRepository
 * @package App\Repositories
 * @version May 10, 2018, 2:22 pm CST
 *
 * @method FacilityTicketModel findWithoutFail($id, $columns = ['*'])
 * @method FacilityTicketModel find($id, $columns = ['*'])
 * @method FacilityTicketModel first($columns = ['*'])
*/
class FacilityTicketModelRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'ticket_id',
        'facility_id'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return FacilityTicketModel::class;
    }
}
